import 'package:proj_sfv/component/SimpleVideo.dart';
import 'package:proj_sfv/pages/videoPage.dart';

class MyArguments {
   int id;
   String token;
   VideoPageType type;
   String collectName;
   String searchWords;

   MyArguments(this.id, this.token);

   MyArguments.two(this.id, this.token, this.type);

   MyArguments.test(): id = 1, token = "11231", collectName = "默认";

   MyArguments.ofUser(this.id, this.token);

   MyArguments.ofType(this.type);

   MyArguments.three(this.id, this.token, this.collectName, this.type);

   ofSearchWords(String words) {
      this.searchWords = words;
      return this;
   }
}